import $http  from "@/utils/request.js";


export function getIndex(data) {

  return $http({
    url: `/api/index/getSystemConfig`,
    method: "post",
    data:data,
  });
}

export function createOrder(data) {

  return $http({
    url: `/api/order/create`,
    method: "post",
    data:data,
  });
}

export function pay(data) {

  return $http({
    url: `/api/order/pay`,
    method: "post",
    data:data,
  });
}



